﻿using GraphQLSample.Domain.Core;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace GraphQLSample.Infrastructure.Models
{
    public class ApplicationContext
        : DbContext
    {
        public ApplicationContext(DbContextOptions options) : 
            base(options)
        {}
        public virtual DbSet<User> User { get; set; }
        public virtual DbSet<Role> Role { get; set; }
    }
}
